<?php

/**
 * Created by PhpStorm.
 * User: xuke
 * Date: 16/7/13
 * Time: 上午11:42
 */
namespace App\Http\Controllers\Admin\User;
use App\Http\Controllers\Admin\AdminBaseController;
use App\Logic\UsersLogic;

class UserController extends AdminBaseController
{
    public function index()
    {
        $users = UsersLogic::getUserList([])->getUsers();

//        if (view()->exists('User.list'))
//        {
//            echo 999;
//        }
        return view('User.list', ['users' => $users]);
    }
    

}